package com.campusexpresspickup.exception;


import com.campusexpresspickup.common.IErrorCode;

/**
 * 断言处理类
 */
public class Asserts {

    public static void error(String message) {
        throw new logisticsException(message);
    }

    public static void error(IErrorCode errorCode) {
        throw new logisticsException(errorCode);
    }
}
